package com.company.service.impl.compute;

import com.company.service.Compute;

/**
 * 减法
 */
public class Sub extends Compute {
    public int computer(int n, int m) {
        System.out.println(n + " - " + m + " = ");
        return n - m;
    }

    public Sub() {
        System.out.println("减法运算：");
    }
}
